const Router = require('koa-router'),
    video = require('../models/video'),
    router = new Router;
router.prefix('/api/vedio');
router.post('/', async (ctx, next) => {
    let { id } = ctx.request.body;
    let res = await video.getVedioUrl(id);
    ctx.body = res;
})

module.exports = router
